
<%@ page import="com.afb.HHPredJob" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'HHPredJob.label', default: 'HHPredJob')}" />
        <title><g:message code="default.list.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}">Home</a></span>
            <span class="menuButton"><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span>
        </div>
        <div  class="body">
            <h1><g:message code="default.list.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="list">
                <table>
                    <thead>
                        <tr>

                            <g:sortableColumn property="name" title="${message(code: 'HHPredJob.name.label', default: 'Name')}" />

<!--
                            <g:sortableColumn property="id" title="${message(code: 'HHPredJob.id.label', default: 'Id')}" />
-->
                            <g:sortableColumn property="proteinSequences" title="${message(code: 'HHPredJob.proteinSequences.label', default: 'Status')}" />
<!--
                            <g:sortableColumn property="proteinSequences" title="${message(code: 'HHPredJob.proteinSequences.label', default: 'Protein Sequences')}" />
-->
                        
                            <g:sortableColumn property="hmmDatabases" title="${message(code: 'HHPredJob.hmmDatabases.label', default: 'Hmm Databases')}" />
                        
                            <g:sortableColumn property="maxPsiBlastIterations" title="${message(code: 'HHPredJob.maxPsiBlastIterations.label', default: 'Max Psi Blast Iterations')}" />
                        
                            <g:sortableColumn property="scoreSecondaryStructure" title="${message(code: 'HHPredJob.scoreSecondaryStructure.label', default: 'Score Secondary Structure')}" />
                        
                            <g:sortableColumn property="alignmentMode" title="${message(code: 'HHPredJob.alignmentMode.label', default: 'Alignment Mode')}" />
                        
                        </tr>
                    </thead>
                    <tbody>
                    <g:each in="${HHPredJobInstanceList}" status="i" var="HHPredJobInstance">
                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">


<td><g:link action="show" id="${HHPredJobInstance.id}">${fieldValue(bean: HHPredJobInstance, field: "name")}</g:link></td>


<!--
<td><g:link action="show" id="${HHPredJobInstance.id}">${fieldValue(bean: HHPredJobInstance, field: "id")}</g:link></td>
-->
<!--
                            <td>${fieldValue(bean: HHPredJobInstance, field: "proteinSequences")}</td>
-->
<!--
                            <td><center><g:link action="run" id="${HHPredJobInstance.id}"> <img src="${createLinkTo(dir:'images',file:'arrow.gif')}" alt="edit" type="image/x-icon" /></g:link></center></td>
-->

                            <td>${fieldValue(bean: HHPredJobInstance, field: "status")}</td>

                            <td>${fieldValue(bean: HHPredJobInstance, field: "hmmDatabases")}</td>
                        
                            <td>${fieldValue(bean: HHPredJobInstance, field: "maxPsiBlastIterations")}</td>
                        
                            <td>${fieldValue(bean: HHPredJobInstance, field: "scoreSecondaryStructure")}</td>
                        
                            <td>${fieldValue(bean: HHPredJobInstance, field: "alignmentMode")}</td>
                        
                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div>
            <div class="paginateButtons">
                <g:paginate total="${HHPredJobInstanceTotal}" />
            </div>

            <div id="espaco">

            </div>


        </div>



    </body>
</html>
